package com.ruyuan.user.server.repository.mapper;

import com.ruyuan.user.server.repository.bean.RoleAuthorityRelationDO;
import com.ruyuan.user.server.repository.bean.RoleAuthorityRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleAuthorityRelationMapper {
    long countByExample(RoleAuthorityRelationExample example);

    int deleteByExample(RoleAuthorityRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RoleAuthorityRelationDO record);

    int insertSelective(RoleAuthorityRelationDO record);

    List<RoleAuthorityRelationDO> selectByExample(RoleAuthorityRelationExample example);

    RoleAuthorityRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RoleAuthorityRelationDO record, @Param("example") RoleAuthorityRelationExample example);

    int updateByExample(@Param("record") RoleAuthorityRelationDO record, @Param("example") RoleAuthorityRelationExample example);

    int updateByPrimaryKeySelective(RoleAuthorityRelationDO record);

    int updateByPrimaryKey(RoleAuthorityRelationDO record);
}